<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of AnimusException
 *
 * @author Animus Inc.
 */

define(DOMROOT, dirname(dirname(dirname(__FILE__))));

require_once 'EventLogger.php';

class AnimusException extends Exception {
    
    public function __construct($message, $code = 0, Exception $previous = null) {
            
		parent::__construct($message, $code, $previous);
        
	}
        
    public function logException($message){
        
        $EventLogger = new EventLogger(DOMROOT."/log/fw-error.log");
        $EventLogger -> logEvent($message);
        
    }    
}

?>
